﻿Public Class ClubBean
    Private id As Integer
    Private nombre As String
    Private cuit As String
    Private fecha_fundacion As Date
    Private estado_cancha As String
    Private tipo_piso As String
    Private domicilio As New Domicilio

    Public Sub New()

    End Sub

    Public Property idInfo() As Integer
        Get
            Return id
        End Get
        Set(ByVal value As Integer)
            Me.id = value
        End Set
    End Property

    Public Property nombreInfo() As String
        Get
            Return nombre
        End Get
        Set(ByVal value As String)
            Me.nombre = value
        End Set
    End Property

    Public Property cuitInfo() As String
        Get
            Return cuit
        End Get
        Set(ByVal value As String)
            Me.cuit = value
        End Set
    End Property

    Public Property fechaFundacion As Date
        Get
            Return fecha_fundacion
        End Get
        Set(ByVal value As Date)
            Me.fecha_fundacion = value
        End Set
    End Property

    Public Property estadoCanchaInfo() As String
        Get
            Return estado_cancha
        End Get
        Set(ByVal value As String)
            Me.estado_cancha = value
        End Set
    End Property

    Public Property tipoPisoInfo() As String
        Get
            Return tipo_piso
        End Get
        Set(ByVal value As String)
            Me.tipo_piso = value
        End Set
    End Property

    Public Property domicilioInfo() As Domicilio
        Get
            Return domicilio
        End Get
        Set(ByVal value As Domicilio)
            Me.domicilio.id_direccionInfo = value.id_direccionInfo
            Me.domicilio.calleInfo = value.calleInfo
            Me.domicilio.numeroInfo = value.numeroInfo
            Me.domicilio.codigoPostalInfo = value.codigoPostalInfo
            Me.domicilio.deptoInfo = value.deptoInfo
            Me.domicilio.pisoInfo = value.pisoInfo
        End Set
    End Property

End Class
